package com.superheroes.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
@ApiModel("用户对象")
public class UserVo {



    @ApiModelProperty(required = true,notes = "用户名",example = "admin")
    @NotEmpty(message = "username不能为空")
    private String username;
    @ApiModelProperty(required = true,notes = "密码",example = "123456")
    private String password;
    @ApiModelProperty(required = true,notes = "验证码",example = "adcd")
    private String validCode;
    @ApiModelProperty(required = true,notes = "验证码值",example = "123456")
    private String deviceId;
    @ApiModelProperty(required = true,notes = "密码类型",example = "")
    private String grant_type;
    @ApiModelProperty(required = true,notes = "未知",example = "webApp")
    private String client_id;
    @ApiModelProperty(required = true,notes = "未知",example = "webApp")
    private String client_secret;
    @ApiModelProperty(required = true,notes = "未知",example = "app")
    private String scope;

}
